package com.lagou.service;

import com.github.pagehelper.PageInfo;
import com.lagou.domain.*;

import java.util.List;

public interface UserService {
    public abstract PageInfo<User> findAllUserByPage(UserVo userVo);
    public abstract void updateUserStatus(Integer id, String status);
    public abstract User login(String phone, String password) throws Exception;
    public abstract List<Role> findUserRoleById(int userId);
    public abstract void userContextRole(UserRoleVo userRoleVo);
    public abstract ResponseResult getUserPermissions(Integer id);
}
